export const AppConfig = {
    port: 8080,
    contractAddress: '0xdbf0b5EEf8bB2f880fFBE2292c1c4f0F44888C25',
    abi: [
        {
            constant: true,
            inputs: [{ name: 'fileHash', type: 'string' }, { name: 'readerAddress', type: 'address' }],
            name: 'tryRead',
            outputs: [{ name: 'timestamp', type: 'uint256' }, { name: 'owner', type: 'string' }, { name: 'reader', type: 'address' }],
            payable: false,
            stateMutability: 'view',
            type: 'function'
        },
        {
            constant: false,
            inputs: [
                { name: 'fileHash', type: 'string' },
                { name: 'owner', type: 'string' },
                { name: 'ownerAddress', type: 'address' },
                { name: 'amount', type: 'uint256' }
            ],
            name: 'trySave',
            outputs: [],
            payable: false,
            stateMutability: 'nonpayable',
            type: 'function'
        },
        {
            anonymous: false,
            inputs: [
                { indexed: false, name: 'status', type: 'bool' },
                { indexed: false, name: 'timestamp', type: 'uint256' },
                { indexed: false, name: 'fileHash', type: 'string' },
                { indexed: false, name: 'owner', type: 'string' },
                { indexed: false, name: 'ownerAddress', type: 'address' }
            ],
            name: 'LogFileAddedStatus',
            type: 'event'
        }
    ]
}
